package com.xqboss.apps.domain.hama;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.xqboss.apps.domain.BaseTable;
import com.xqboss.apps.enums.hama.HamaDelayExpireLogTypeEnum;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 延迟过期日志-空投周期
 * </p>
 *
 * @author admin
 * @since 2024-03-14
 */
@Data
@Builder
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="HamaDelayExpireLog对象", description="延迟过期日志-空投周期")
public class HamaDelayExpireLog extends BaseTable implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "定时任务ID")
    private Long jobId;

    @ApiModelProperty(value = "运动场开关状态（0-关闭 1-开启）")
    private Integer isOpen;

    @ApiModelProperty(value = "延迟多少小时")
    private Integer delayHour;

    @ApiModelProperty(value = "用户id")
    private Long userId;

    @ApiModelProperty(value = "延时类型（1- 投放装备空投 2- 新人助力空投 3-建设运动场空投）")
    private HamaDelayExpireLogTypeEnum type;

    @ApiModelProperty(value = "hama_mix_log、hama_help、hama_help的主键")
    private Long sourceId;

    @ApiModelProperty(value = "延时前过期时间")
    private Date beforeDelayDate;

    @ApiModelProperty(value = "延时后过期时间")
    private Date afterDelayDate;

    @ApiModelProperty(value = "开始生产时间")
    private Date startProductionTime;

    @ApiModelProperty(value = "累计空投力豆")
    private BigDecimal eggLayingNum;

    @ApiModelProperty(value = "每时空投力豆速率")
    private BigDecimal basicSpeed;
}
